package ast;


import java.util.ArrayList;

import org.antlr.runtime.Token;

public class Literal extends Node{
	
	private String tipoExpressao;
	
	public String getTipoExpressao() {
		return tipoExpressao;
	}
	public void setTipoExpressao(String tipoExpressao) {
		this.tipoExpressao = tipoExpressao;
	}
	public Literal(Token payload) {
		super(payload);
	}
	public ArrayList<Equal_Nequal> getEqualNequal() {
		ArrayList<Equal_Nequal> result = new ArrayList<Equal_Nequal>();
		
		for (Object node : getChildren()) {

			Equal_Nequal equal_nequal = (Equal_Nequal) node;
			result.add(equal_nequal);
			
		}
		
		return result;
	}
	public Object accept(IVisitor visitor, Object o) {
		return visitor.visit(this, o);
	}

}
